package com.gxt.pojo;

import javax.persistence.*;

public class Course {
    @Id
    private String id;

    @Column(name = "post_id")
    private Integer postId;

    private String author;

    private String avatar;

    private String collection;

    private String content;

    private String date;

    @Column(name = "date_time")
    private String dateTime;

    private String detail;

    @Column(name = "head_img_src")
    private String headImgSrc;

    @Column(name = "head_video_src")
    private String headVideoSrc;

    @Column(name = "img_src")
    private String imgSrc;

    private String reading;

    private String title;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return post_id
     */
    public Integer getPostId() {
        return postId;
    }

    /**
     * @param postId
     */
    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    /**
     * @return author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * @param author
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * @return avatar
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * @param avatar
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * @return collection
     */
    public String getCollection() {
        return collection;
    }

    /**
     * @param collection
     */
    public void setCollection(String collection) {
        this.collection = collection;
    }

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return date
     */
    public String getDate() {
        return date;
    }

    /**
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * @return date_time
     */
    public String getDateTime() {
        return dateTime;
    }

    /**
     * @param dateTime
     */
    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    /**
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * @return head_img_src
     */
    public String getHeadImgSrc() {
        return headImgSrc;
    }

    /**
     * @param headImgSrc
     */
    public void setHeadImgSrc(String headImgSrc) {
        this.headImgSrc = headImgSrc;
    }

    /**
     * @return head_video_src
     */
    public String getHeadVideoSrc() {
        return headVideoSrc;
    }

    /**
     * @param headVideoSrc
     */
    public void setHeadVideoSrc(String headVideoSrc) {
        this.headVideoSrc = headVideoSrc;
    }

    /**
     * @return img_src
     */
    public String getImgSrc() {
        return imgSrc;
    }

    /**
     * @param imgSrc
     */
    public void setImgSrc(String imgSrc) {
        this.imgSrc = imgSrc;
    }

    /**
     * @return reading
     */
    public String getReading() {
        return reading;
    }

    /**
     * @param reading
     */
    public void setReading(String reading) {
        this.reading = reading;
    }

    /**
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }
}